<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Embroidermodder: UndoEditor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js", "TeX/AMSmath.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="logo_embroidermodder_2_0.png"/></td>
  <td id="projectalign">
   <div id="projectname">Embroidermodder<span id="projectnumber">&#160;2.0.0-alpha4</span>
   </div>
   <div id="projectbrief">A free and open source software for machine embroidery</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classUndoEditor.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classUndoEditor-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">UndoEditor Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="embroidermodder_8h_source.html">embroidermodder.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-slots" name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:a0e1e7804a53f6d62efc72c9bdbec8571"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a0e1e7804a53f6d62efc72c9bdbec8571">undo</a> ()</td></tr>
<tr class="separator:a0e1e7804a53f6d62efc72c9bdbec8571"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93c48d6ed036e1a381be53ac67643284"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a93c48d6ed036e1a381be53ac67643284">redo</a> ()</td></tr>
<tr class="separator:a93c48d6ed036e1a381be53ac67643284"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7d2d3d1e6f3e2030551a50729cd2687"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#ac7d2d3d1e6f3e2030551a50729cd2687">updateCleanIcon</a> (bool opened)</td></tr>
<tr class="separator:ac7d2d3d1e6f3e2030551a50729cd2687"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2e4d3a80efbe8c3bcd25ae88a0aa0bf5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a2e4d3a80efbe8c3bcd25ae88a0aa0bf5">UndoEditor</a> (QString iconDirectory=QString(), QWidget *widgetToFocus=0, QWidget *parent=0)</td></tr>
<tr class="separator:a2e4d3a80efbe8c3bcd25ae88a0aa0bf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7115b468cec0a911d696ff5289956150"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a7115b468cec0a911d696ff5289956150">~UndoEditor</a> ()</td></tr>
<tr class="separator:a7115b468cec0a911d696ff5289956150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49792429b8a973f9badbfac692426ff0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a49792429b8a973f9badbfac692426ff0">addStack</a> (QUndoStack *stack)</td></tr>
<tr class="separator:a49792429b8a973f9badbfac692426ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ee2766dec5411a639d14c34be78233f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a1ee2766dec5411a639d14c34be78233f">canUndo</a> ()</td></tr>
<tr class="separator:a1ee2766dec5411a639d14c34be78233f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0ba708adacdcfb90ad66d1de94e7ef9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#aa0ba708adacdcfb90ad66d1de94e7ef9">canRedo</a> ()</td></tr>
<tr class="separator:aa0ba708adacdcfb90ad66d1de94e7ef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb1de6c8edbd20b31dae712067f8e3b2"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#aeb1de6c8edbd20b31dae712067f8e3b2">undoText</a> ()</td></tr>
<tr class="separator:aeb1de6c8edbd20b31dae712067f8e3b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0011943e338559d065ecad3dd6f4f0fd"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a0011943e338559d065ecad3dd6f4f0fd">redoText</a> ()</td></tr>
<tr class="separator:a0011943e338559d065ecad3dd6f4f0fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad11af965753130b800267961b150efdf"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#ad11af965753130b800267961b150efdf">focusWidget</a></td></tr>
<tr class="separator:ad11af965753130b800267961b150efdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad085b0152655682d722dfe67c7255a9d"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#ad085b0152655682d722dfe67c7255a9d">iconDir</a></td></tr>
<tr class="separator:ad085b0152655682d722dfe67c7255a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e645ac34ef17670c8d6efe067f2a85"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a69e645ac34ef17670c8d6efe067f2a85">iconSize</a></td></tr>
<tr class="separator:a69e645ac34ef17670c8d6efe067f2a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f995dc4648267211bb86dbf77d51c32"><td class="memItemLeft" align="right" valign="top">QUndoGroup *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#a2f995dc4648267211bb86dbf77d51c32">undoGroup</a></td></tr>
<tr class="separator:a2f995dc4648267211bb86dbf77d51c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad686cdfc63313681f3c98aaf67f8407"><td class="memItemLeft" align="right" valign="top">QUndoView *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUndoEditor.html#aad686cdfc63313681f3c98aaf67f8407">undoView</a></td></tr>
<tr class="separator:aad686cdfc63313681f3c98aaf67f8407"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a2e4d3a80efbe8c3bcd25ae88a0aa0bf5" name="a2e4d3a80efbe8c3bcd25ae88a0aa0bf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e4d3a80efbe8c3bcd25ae88a0aa0bf5">&#9670;&nbsp;</a></span>UndoEditor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUndoEditor.html">UndoEditor</a> </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>iconDirectory</em> = <code>QString()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>widgetToFocus</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7115b468cec0a911d696ff5289956150" name="a7115b468cec0a911d696ff5289956150"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7115b468cec0a911d696ff5289956150">&#9670;&nbsp;</a></span>~UndoEditor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classUndoEditor.html">UndoEditor</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a49792429b8a973f9badbfac692426ff0" name="a49792429b8a973f9badbfac692426ff0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49792429b8a973f9badbfac692426ff0">&#9670;&nbsp;</a></span>addStack()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void addStack </td>
          <td>(</td>
          <td class="paramtype">QUndoStack *&#160;</td>
          <td class="paramname"><em>stack</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa0ba708adacdcfb90ad66d1de94e7ef9" name="aa0ba708adacdcfb90ad66d1de94e7ef9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0ba708adacdcfb90ad66d1de94e7ef9">&#9670;&nbsp;</a></span>canRedo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool canRedo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1ee2766dec5411a639d14c34be78233f" name="a1ee2766dec5411a639d14c34be78233f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ee2766dec5411a639d14c34be78233f">&#9670;&nbsp;</a></span>canUndo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool canUndo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a93c48d6ed036e1a381be53ac67643284" name="a93c48d6ed036e1a381be53ac67643284"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93c48d6ed036e1a381be53ac67643284">&#9670;&nbsp;</a></span>redo</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void redo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0011943e338559d065ecad3dd6f4f0fd" name="a0011943e338559d065ecad3dd6f4f0fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0011943e338559d065ecad3dd6f4f0fd">&#9670;&nbsp;</a></span>redoText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString redoText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e1e7804a53f6d62efc72c9bdbec8571" name="a0e1e7804a53f6d62efc72c9bdbec8571"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e1e7804a53f6d62efc72c9bdbec8571">&#9670;&nbsp;</a></span>undo</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void undo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeb1de6c8edbd20b31dae712067f8e3b2" name="aeb1de6c8edbd20b31dae712067f8e3b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb1de6c8edbd20b31dae712067f8e3b2">&#9670;&nbsp;</a></span>undoText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString undoText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac7d2d3d1e6f3e2030551a50729cd2687" name="ac7d2d3d1e6f3e2030551a50729cd2687"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7d2d3d1e6f3e2030551a50729cd2687">&#9670;&nbsp;</a></span>updateCleanIcon</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void updateCleanIcon </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>opened</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad11af965753130b800267961b150efdf" name="ad11af965753130b800267961b150efdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad11af965753130b800267961b150efdf">&#9670;&nbsp;</a></span>focusWidget</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget* focusWidget</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad085b0152655682d722dfe67c7255a9d" name="ad085b0152655682d722dfe67c7255a9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad085b0152655682d722dfe67c7255a9d">&#9670;&nbsp;</a></span>iconDir</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString iconDir</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a69e645ac34ef17670c8d6efe067f2a85" name="a69e645ac34ef17670c8d6efe067f2a85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69e645ac34ef17670c8d6efe067f2a85">&#9670;&nbsp;</a></span>iconSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int iconSize</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2f995dc4648267211bb86dbf77d51c32" name="a2f995dc4648267211bb86dbf77d51c32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f995dc4648267211bb86dbf77d51c32">&#9670;&nbsp;</a></span>undoGroup</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QUndoGroup* undoGroup</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aad686cdfc63313681f3c98aaf67f8407" name="aad686cdfc63313681f3c98aaf67f8407"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad686cdfc63313681f3c98aaf67f8407">&#9670;&nbsp;</a></span>undoView</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QUndoView* undoView</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="embroidermodder_8h_source.html">embroidermodder.h</a></li>
<li>src/<a class="el" href="undo-editor_8cpp.html">undo-editor.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classUndoEditor.html">UndoEditor</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
